FROM hub.c.163.com/housan993/centos7_jdk8:latest
VOLUME /tmp
ADD gen.jar /app.jar
EXPOSE 9202
ENV JAVA_OPTS="-server -Xmx512m -Xms256m"
ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /app.jar